// Town 17: Small Basement
begintownscript;

variables;

short choice,dummy,i,j,k,view_x,view_y,start_x,start_y,shake_num;
string dlgstr;

body;

beginstate INIT_STATE;
set_name(6,"Voss");

if (get_flag(17,0) != 0)
	{force_instant_terrain_redraw();
	message_dialog("You enter a small basement room underneath Nolagh-Khar's throne room. Two sliths, one living and one dead, are waiting for you here.","It appears that the demon lord was not aware of this room. It shows no evidence of having been defiled like the rest of Bahssikava, and the altar in the corner still radiates holy energy.");
	set_flag(17,0,1);
	}
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
if (get_flag(17,1) != 1)
	end();
	
	set_flag(17,1,2);
	
	if (get_flag(250,9)) {
		reset_dialog();
		add_dialog_str(0,"You have reached another cut scene, one in which Voss describes the history of Bahssikava and the attack. Would you like to skip it or see it?",0);
		add_dialog_choice(0,"Skip it.");
		add_dialog_choice(1,"See it.");
		if (run_dialog(1) == 1)
			set_state_continue(12);
		}
	
	message_dialog("Voss begins speaking again.","");
	
	i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	
	text_bubble_on_char(6,"Sixty years ago,");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"Bahssikava was a thriving city.");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	force_view_center(11,8);
	set_total_visibility(1);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(8,"We valued education,");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"and Bahssikavan schools were");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"among the finest ever made.");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	force_view_center(11,7);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(11,6);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(11,5);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,8,2);
	text_bubble_on_char(8,"They had extensive libraries,");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"and more importantly,");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,7,2);
	force_view_center(10,5);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,6,2);
	force_view_center(9,5);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,5,2);
	force_view_center(8,5);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"complex and extremely advanced");
	relocate_character(8,4,2);
	force_view_center(7,5);
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"mind crystals.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	relocate_character(0,32,30);
	relocate_character(1,33,30);
	relocate_character(2,34,30);
	relocate_character(3,35,30);
	relocate_character(4,36,30);
	set_character_facing(0,0);
	set_character_facing(1,0);
	set_character_facing(2,0);
	set_character_facing(3,0);
	set_character_facing(4,0);
	
	force_view_center(34,30);
	set_total_visibility(0);
	force_instant_terrain_redraw();
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(i,"Wait. Stop right there.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	if (party_size() != 1)
		text_bubble_on_char(i,"There's something we don't understand.");
	else
		text_bubble_on_char(i,"There's something I don't understand.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(6,"What is it?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(i,"The mind crystals!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	if (party_size() != 1)
		text_bubble_on_char(i,"Why do we keep seeing VAHNATAI things");
	else
		text_bubble_on_char(i,"Why do I keep seeing VAHNATAI things");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(i,"all over Bahssikava, a SLITH city?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(6,"Vahnatai?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("Voss looks confused. _Vahnatai... this word sounds familiar. I think we have old legends of a race of beings, a strange, thin, magic-using race that went by that name. Yes! We had a phrase once: 'like vahnatai honor.'_","_The vahnatai had a legendary sense of honor and revenge. Once they decided that they had been wronged, they would go to the utmost extremes to get justice._");

	text_bubble_on_char(i,"That's very interesting, but");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(i,"it doesn't answer the question.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(i,"Did you Bahssikavans have contact");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(i,"with any clan of vahnatai?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	text_bubble_on_char(6,"No.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"Of that much, I am sure.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"Those legends are very old,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"dating from before our exile.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"In the homeland,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"we may have actually known");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"these legendary beings,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"but they are no more than stories");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"to any Bahssikavan.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("What Voss says is less than enlightening. Whatever connection once existed between the slithzerikai and the vahnatai is too ancient even for the Bahssikavans to know. If you are to unravel this mystery, you will not find the answers here.","");

	text_bubble_on_char(i,"All right. Go on.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(i,"");
	force_view_center(7,5);
	set_total_visibility(1);
	force_instant_terrain_redraw();
	
	text_bubble_on_char(8,"As I was saying,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"we had outstanding schools.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	force_view_center(7,7);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(7,9);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(6,11);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(6,13);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(21,"And that is how you make");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(21,"");
	text_bubble_on_char(21,"a big explosion.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(21,"");
	move_item_on_spot(6,16,-1,0);
	put_boom_on_space(6,16,1,0);
	run_animation_sound(152);
	pause(3 * get_flag(250,8));
	
	text_bubble_on_char(25,"Wow!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(25,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("_We sliths are a religious people, and we built many great temples throughout Bahssikava. One of the greatest was the temple near the river in Central Bahssikava._","");

	force_view_center(32,12);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,29,9);
	text_bubble_on_char(8,"Our temples were usually full");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"during our traditional weeks");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"of fasting and prayer.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"We Bahssikavans never forgot");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"that we are here in exile");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"to do penance and to be forgiven.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(8,"All Bahssikavans learned our story");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"from their earliest years.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	force_view_center(32,10);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(32,8);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,30,3);
	force_view_center(32,6);
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(30,"And then the great steel doors shut,");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"locking us out of the homeland.");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"Forever?");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"NO!");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"Until we have at least learned");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"the virtues of patience and peace.");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"Our ancestors committed a grievous sin");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"against the gods,");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"and we are here as punishment.");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"That is why we must be good");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"and do the gods' will");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"every day of our lives.");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"The prophecies tell us that someday,");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"a great leader will come,");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"and he will take us from our exile");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"and return us home.");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"That day may not come in my lifetime");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"or in the life of the youngest here,");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"but that day will come,");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	text_bubble_on_char(30,"and we must be ready.");
	force_instant_terrain_redraw();
	pause(7 * get_flag(250,8));
	
	text_bubble_on_char(30,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("_Bahssikavans had lived in exile for more than one-hundred fifty years doing our penance. Every year, the fasting and purification came, and every year, the great steel doors remained locked. Some grew impatient._","_It was our impatience that led us to try what we did, to commit our gravest sin yet. I was there on that fateful day. I stood beside him._");

	force_view_center(58,59);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(44,"O great gods,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"we have lived in exile");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"for 150 years.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"We have spent our lives");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"in penance and contemplation.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"If it is truly time for us to return,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"we ask that you bless our efforts");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"to open the great steel doors today.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	set_character_facing(44,0);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(44,"Is everyone ready?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(47,"Yeah!");
	text_bubble_on_char(48,"Yeah!");
	text_bubble_on_char(43,"Yeah!");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(46,"Yeah!");
	text_bubble_on_char(45,"Yeah!");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(41,"Yeah!");
	text_bubble_on_char(49,"Yeah!");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(47,"");
	text_bubble_on_char(48,"");
	text_bubble_on_char(43,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(46,"");
	text_bubble_on_char(45,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(41,"");
	text_bubble_on_char(49,"");
	text_bubble_on_char(44,"Good.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"Then we will begin.");
	set_character_facing(44,4);
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	i = 40;
	while (i < 47)
		{set_character_pose(i,1);
		put_jagged_zap(char_loc_x(i),char_loc_y(i),58,62,0);
		put_jagged_zap(char_loc_x(i),char_loc_y(i),59,62,0);
		i = i + 1;
		}
	put_boom_on_space(58,62,1,0);
	put_boom_on_space(59,62,1,0);
	run_animation_sound(51);
	i = 40;
	while (i < 47)
		{set_character_pose(i,0);
		i = i + 1;
		}
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	put_jagged_zap(62,57,58,62,0);
	put_jagged_zap(62,57,59,62,0);
	put_jagged_zap(62,58,58,62,0);
	put_jagged_zap(62,58,59,62,0);
	put_jagged_zap(62,59,58,62,0);
	put_jagged_zap(62,59,59,62,0);
	put_boom_on_space(58,62,4,0);
	put_boom_on_space(59,62,4,0);
	run_animation_sound(54);
	pause(1 * get_flag(250,8));
	
	i = 40;
	while (i < 47)
		{set_character_pose(i,1);
		put_jagged_zap(char_loc_x(i),char_loc_y(i),58,62,0);
		put_jagged_zap(char_loc_x(i),char_loc_y(i),59,62,0);
		i = i + 1;
		}
	put_boom_on_space(58,62,1,0);
	put_boom_on_space(59,62,1,0);
	run_animation_sound(51);
	i = 40;
	while (i < 47)
		{set_character_pose(i,0);
		i = i + 1;
		}
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	put_jagged_zap(62,57,58,62,0);
	put_jagged_zap(62,57,59,62,0);
	put_jagged_zap(62,58,58,62,0);
	put_jagged_zap(62,58,59,62,0);
	put_jagged_zap(62,59,58,62,0);
	put_jagged_zap(62,59,59,62,0);
	put_boom_on_space(58,62,4,0);
	put_boom_on_space(59,62,4,0);
	run_animation_sound(54);
	pause(1 * get_flag(250,8));
	
	message_dialog("_The greatest priests and mages in Bahssikava spent hours throwing spell after spell against the great steel doors, aided by the strength of their machinery and crystals. They also offered their most powerful prayers to any god who might listen._","_Nothing worked. Finally, after many hours, they had completely exhausted their energies._");
	
	text_bubble_on_char(44,"*sigh*");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"It's no use.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	force_instant_terrain_redraw();
	pause(3 * get_flag(250,8));
	
	set_character_facing(44,0);
	text_bubble_on_char(44,"IT'S NO USE!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"THE DOORS ARE LOCKED!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"THEY HAVE ALWAYS BEEN LOCKED,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"AND THEY WILL ALWAYS BE LOCKED!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"THE GODS SCORN US!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"THEY NO LONGER CARE!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"THEY HAVE ABANDONED");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"THEIR WAYWARD CHILDREN!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	set_character_facing(40,6);
	text_bubble_on_char(44,"");
	text_bubble_on_char(40,"Shh! Quiet!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(40,"");
	text_bubble_on_char(40,"Stop talking like that!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(40,"");
	text_bubble_on_char(44,"Why, Voss?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"What does it matter?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"It is clear");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	text_bubble_on_char(44,"that they no longer listen.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(44,"");
	force_instant_terrain_redraw();
	play_sound(162);
	pause(3 * get_flag(250,8));
	
	text_bubble_on_char(40,"I wouldn't count on that.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(40,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(50,"*rumble*");
	force_instant_terrain_redraw();
	play_sound(-108);
	pause(6 * get_flag(250,8));
	
	// Screen Shaking v1.0.0
	// by Kelandon (tomwatts@berkeley.edu)
	// Make the screen shake. Edit sound in play_sound as necessary.
	shake_num = 8; // number of times to shake the screen
	start_x = 58; // original x-coordinate of the view center
	start_y = 59; // original y-coordinate of the view center
	i = 0;
	while (i < shake_num)
		{play_sound(-51);
		view_x = start_x;
		view_y = start_y;
		j = get_ran(1,0,4);
		k = get_ran(1,0,4);
		
		// + x, - y
		while ((view_x < start_x + j) || (view_y > start_y - k))
			{if (view_x < start_x + j)
				{force_view_center(view_x + 2,view_y);
				view_x = view_x + 2; }
			if (view_y > start_y - k)
				{force_view_center(view_x,view_y - 2);
				view_y = view_y - 2; }
			force_instant_terrain_redraw();
			pause(1);
			}
		// returning
		while ((view_x > start_x) || (view_y > start_y))
			{if (view_x > start_x)
				{force_view_center(view_x - 2,view_y);
				view_x = view_x - 2; }
			if (view_y < start_y)
				{force_view_center(view_x,view_y + 2);
				view_y = view_y + 2; }
			force_instant_terrain_redraw();
			pause(1);
			}

		// - x , + y
		while ((view_x > start_x - j) || (view_y < start_y + k))
			{if (view_x > start_x - j)
				{force_view_center(view_x - 2,view_y);
				view_x = view_x - 2; }
			if (view_y < start_y + k)
				{force_view_center(view_x,view_y + 2);
				view_y = view_y + 2; }
			force_instant_terrain_redraw();
			pause(1);
			}
		// returning
		while ((view_x < start_x) || (view_y > start_y))
			{if (view_x < start_x)
				{force_view_center(view_x + 2,view_y);
				view_x = view_x + 2; }
			if (view_y > start_y)
				{force_view_center(view_x,view_y - 2);
				view_y = view_y - 2; }
			force_instant_terrain_redraw();
			pause(1);
			}
		i = i + 1;
		}
	
	text_bubble_on_char(53,"*crash*");
	force_instant_terrain_redraw();
	play_sound(-169);
	pause(2 * get_flag(250,8));
	
	text_bubble_on_char(51,"*crash*");
	force_instant_terrain_redraw();
	play_sound(-169);
	pause(2 * get_flag(250,8));
	
	text_bubble_on_char(50,"");
	text_bubble_on_char(52,"*scream*");
	force_instant_terrain_redraw();
	play_sound(-111);
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(51,"");
	text_bubble_on_char(53,"");
	text_bubble_on_char(52,"");
	text_bubble_on_char(40,"OH NO!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(40,"");
	text_bubble_on_char(40,"What just happened?!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(40,"");
	text_bubble_on_char(40,"That felt like a cavequake!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(40,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("_So the gods punished us for our blasphemy. Our vanity led us to demand that they open the great steel doors and allow us back through before the appointed time, and their answer was the cavequake._","_We ran back to Bahssikava, hoping that it was just our imagination, hoping that all was well. What we found was quite different._");
	
	force_view_center(5,59);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(54,"The passage is blocked off!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(54,"");
	text_bubble_on_char(54,"We have to go around.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	set_character_facing(54,4);
	set_character_facing(55,4);
	text_bubble_on_char(54,"");
	text_bubble_on_char(56,"Voss!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"Thank the gods you're here!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"The city is in chaos!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"We are cut off from the south.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"A group of us are meeting");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"in the temple in the north");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"to try to figure out what to do.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	text_bubble_on_char(56,"There is talk of leaving Bahssikava!");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(56,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("_It was unthinkable. Leave Bahssikava? This city was our home, our only refuge from the Darklings who otherwise swarmed over the caves of Avernum like a pestilence. We left them to their meeting, and instead we sought a way into the south._","_We found one, but it did us little good._");

	force_view_center(6,33);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(59,"Tell me what is going on.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(59,"");
	text_bubble_on_char(61,"Sir, we are being attacked.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"In the far south,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"a vast multitude of demons");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"appeared from nowhere and right now");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"are laying the city to waste.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"Our defenses are weak.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"It has been years since the last");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"war against the Darklings,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"and these demons are far more powerful");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"than the barbarian Darklings");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"whom we once fought.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"We are within hours of defeat.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(59,"Where is the Mayor?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(59,"");
	text_bubble_on_char(61,"Dead. And buried.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"City hall was destroyed");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"in the first of the massive cave-ins.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(59,"Are you telling me");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(59,"");
	text_bubble_on_char(59,"that our city is destroyed,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(59,"");
	text_bubble_on_char(59,"death is imminent,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(59,"");
	text_bubble_on_char(59,"and we face our end leaderless?");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(59,"");
	text_bubble_on_char(61,"Not quite, sir.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"We do have a leader.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"The only one left is...");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	text_bubble_on_char(61,"YOU.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(61,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("_I cannot describe the agony of those final hours. To pick up spears and become soldiers is the most difficult request a mayor can make of his citizens. To fight without hope is the most terrible task a commander can ask of his soldiers._","_To do both is unbearable._");
	
	i = 65;
	while (i <= 85)
		{set_character_pose(i,2);
		i = i + 1;
		}
	
	force_view_center(37,59);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(8,34,56);
	text_bubble_on_char(8,"We were badly outnumbered");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	set_character_pose(71,1);
	put_effect_on_char(72,12,1,2);
	run_animation_sound(87); // bite
	set_character_pose(71,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(69,1);
	put_effect_on_char(68,12,1,2);
	run_animation_sound(87);
	set_character_pose(69,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(66,1);
	put_effect_on_char(65,12,1,2);
	run_animation_sound(65); // drain
	set_character_pose(66,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(72,1);
	put_effect_on_char(71,12,1,2);
	run_animation_sound(71); // pole weapon
	set_character_pose(72,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(68,1);
	put_effect_on_char(69,12,1,2);
	run_animation_sound(71); // pole weapon
	set_character_pose(68,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(65,1);
	put_effect_on_char(66,12,1,2);
	run_animation_sound(71); // pole weapon
	set_character_pose(65,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(8,"... and outclassed.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	relocate_character(78,32,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(78,33,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(78,34,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(78,35,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	relocate_character(78,36,58);
	set_character_facing(78,4);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(78,1);
	put_effect_on_char(67,12,1,2);
	run_animation_sound(87); // bite
	set_character_pose(78,2);
	force_instant_terrain_redraw();
	kill_char(67,2,0);
	
	force_view_center(36,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(34,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(32,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(30,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	force_view_center(29,58);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	message_dialog("_The battle was terrible indeed, but worse was what happened as our forces began to bend and then break._","");

	set_character_pose(77,1);
	put_effect_on_char(73,12,1,2);
	run_animation_sound(87); // bite
	set_character_pose(77,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(76,1);
	put_effect_on_char(74,12,1,2);
	run_animation_sound(87); // bite
	set_character_pose(76,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(83,1);
	put_effect_on_char(85,12,1,2);
	run_animation_sound(87); // bite
	set_character_pose(83,2);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	set_character_pose(84,1);
	put_effect_on_char(85,12,1,2);
	run_animation_sound(87); // bite
	set_character_pose(84,2);
	force_instant_terrain_redraw();
	kill_char(85,2,0);
	
	set_character_pose(83,1);
	set_character_pose(84,1);
	put_boom_on_space(27,60,6,0);
	run_animation_sound(25);
	
	set_character_pose(83,2);
	set_character_pose(84,2);
	place_monster(27,60,249,1);
	put_boom_on_space(27,60,2,0);
	run_animation_sound(165);
	pause(6 * get_flag(250,8));
	
	message_dialog("_They stole our souls._","_As soon as we died, they cast dark rituals of necromancy over our bodies to enslave our spirits. We were forced to serve them in death, which led to the situation that you found when you came here._");
	
	force_view_center(59,7);
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	relocate_character(8,56,4);
	text_bubble_on_char(8,"Imagine facing death's cold hand,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"its long, slender, white fingers");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"reaching for your throat,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"and being utterly alone,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"without hope of help,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"without hope of salvation,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"with eternal bondage to foul demons");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"your only possible fate.");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"Imagine dying young,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"your life's thread cut by the Fates");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"while it was still fresh and new.");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"Imagine watching your children die,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"not knowing why,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"not understanding the terrible claws");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"that tore through their fragile chests.");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"Imagine this,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"if you can,");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"and you will have some idea");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"of what happened");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	text_bubble_on_char(8,"on the day when Bahssikava fell.");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	text_bubble_on_char(8,"");
	force_instant_terrain_redraw();
	pause(8 * get_flag(250,8));
	
	message_dialog("_I need not describe the intervening years,_ he continues after a brief pause. _Suffice it to say that serving the demons was not a pleasant experience or one that any of us would like to repeat._","_By means that are too complicated to explain now, I managed to escape captivity some years ago, and I have been working to fight them ever since. I had very little success. With your help, however, we have won a total victory._");

	force_view_center(34,30);
	set_total_visibility(0);
	force_instant_terrain_redraw();
	
	text_bubble_on_char(6,"I trust you will understand, then,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"the importance of the death");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"of the demon lord Nolagh-Khar");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"and the magnitude of our gratitude");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"for your part in that death.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	if (party_size() != 1)
		text_bubble_on_char(6,"Since you are adventurers,");
	else
		text_bubble_on_char(6,"Since you an adventurer,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"I know that our gratitude");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"can best be expressed in the form");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"of items of great power.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"With that in mind,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"I have asked an associate");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"to bring our greatest artifact.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"I hear him coming down the passage.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	place_monster(32,29,249,1);
	set_character_facing(87,6);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(6,"Do you have it, Akoss?");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(87,"Right here, sir.");
	force_instant_terrain_redraw();
	pause(5 * get_flag(250,8));
	
	text_bubble_on_char(87,"");
	relocate_character(87,33,29);
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	put_item_on_spot(34,29,457);
	force_instant_terrain_redraw();
	play_sound(124);
	pause(1 * get_flag(250,8));
	
	text_bubble_on_char(6,"This is the Spear of Khalthas.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"According to legend,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"one of our greatest heroes carried it.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"When he died,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"it was passed down through his family");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"until it fell into the hands");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"of one of the exiles.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"That exile became a Bahssikavan,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"and we in Bahssikava have kept it");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"ever since.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"May it serve you as well as it served");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"the hero Khalthas.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	force_instant_terrain_redraw();
	pause(1 * get_flag(250,8));
	
	reset_dialog();
	add_dialog_str(0,"_The Spear of Khalthas is the greatest gift we have, but it is not the only way that we will show our gratitude. We also have a mind crystal that can teach you some of our language. Would you like to use it?_",0);
	add_dialog_choice(0,"Yes.");
	add_dialog_choice(1,"No, thank you.");
	if (run_dialog(1) == 1)
		{reset_dialog();
		add_dialog_str(0,"You gaze into the mind crystal, and ancient slithzerikai words come flowing into your mind. You know the ancient slith language better.",0);
		if (get_flag(250,2) == 2)
			add_dialog_str(1,"You are almost completely fluent in the language! This will surely be useful in the future.",0);
		inc_flag(250,2,run_dialog(1));
		}
	
	text_bubble_on_char(6,"We must go now.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"After sixty years of slavery,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"we will finally get");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"our much-deserved, long sleep.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	text_bubble_on_char(6,"All Bahssikava thanks you again,");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	text_bubble_on_char(6,"");
	if (party_size() != 1)
		text_bubble_on_char(6,"worthy adventurers.");
	else
		text_bubble_on_char(6,"worthy adventurer.");
	force_instant_terrain_redraw();
	pause(6 * get_flag(250,8));
	
	put_boom_on_char(87,3,0);
	put_boom_on_char(6,3,0);
	erase_char(87);
	erase_char(6);
	run_animation_sound(10);
	
	erase_char(86);
	set_character_facing(1,2);
	set_character_facing(2,2);
	set_character_facing(3,2);
	set_character_facing(4,2);
	
break;

beginstate 10;
	block_entry(1);
	message_dialog("You begin to walk back up the passage to Nolagh-Khar's throne room, but then you realize that there's probably nothing new to find there. You turn back.","");
break;

beginstate 11;
	if ((char_ok(6)) || (char_ok(7)))
		{block_entry(1);
		message_dialog("You start to walk up this passage, but you are motioned back. Apparently you won't be able to leave here without talking to both of the sliths, one living and one dead.","");
		end();
		}
	
	reset_dialog();
	add_dialog_str(0,"There is a steep slope up here. Do you wish to climb it?",0);
	add_dialog_choice(0,"Leave.");
	add_dialog_choice(1,"Ascend it.");
	if (run_dialog(1) == 0)
		block_entry(1);
	else
		move_to_new_town(15,59,6);
break;

beginstate 12;
	message_dialog("Voss describes in great detail the vast wonder and beauty of Bahssikava in its heyday, and the terrible horror of the demon invasion. When he is done, he expresses his gratitude for you freeing him and the other Bahssikavans by bringing you a weapon.","");

	put_item_on_spot(34,29,457);
	play_sound(124);

	reset_dialog();
	add_dialog_str(0,"He also offers you the chance to use a mind crystal to enhance your knowledge of the Bahssikavan language. What do you say?",0);
	add_dialog_choice(0,"Yes.");
	add_dialog_choice(1,"No, thank you.");
	if (run_dialog(1) == 1)
		{reset_dialog();
		add_dialog_str(0,"You gaze into the mind crystal, and ancient slithzerikai words come flowing into your mind. You know the ancient slith language better.",0);
		if (get_flag(250,2) == 2)
			add_dialog_str(1,"You are almost completely fluent in the language! This will surely be useful in the future.",0);
		inc_flag(250,2,run_dialog(1));
		}
	
	erase_char(6);
break;